import api from './index'

export const getHospitalList = () => {
  return api.get('/hospitals/')
}

export const getHospitalDetail = (id) => {
  return api.get(`/hospitals/${id}/`)
} 